﻿<?php
	//funcoes para acesso restrito da pagina
	$MM_authorizedUsers = "0,2";
	require_once "../acessos/acesso.php";
	require_once "../acessos/logout.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
$title_name = "SCSA - Sistema para Corretores de Seguro Automotivo";
if(isset($_REQUEST['menu'])){
	$opcao_menu_topo = $_REQUEST['menu'];
	
	switch($opcao_menu_topo){
		case 'clientes':
			$title_name = "SCSA - Clientes";
			break;
		case 'vigencias':
			$title_name = "SCSA - Vig&ecirc;ncias";
			break;
		case 'calculo':
			$title_name = "SCSA - C&aacute;lculo de Seguro";
			break;
	}
	
	if(isset($_REQUEST['menu_lateral'])){
		if(!isset($opcao_menu_lateral)){
				$opcao_menu_lateral = $_REQUEST['menu_lateral'];
		}
		switch($opcao_menu_lateral){
			case 'cadastro':
				$title_name = "SCSA - Cadastrar Clientes";
				break;
			case 'busca':
				$title_name = "SCSA - Procurar Clientes";
				break;
			case 'comvigencia':
				$title_name = "SCSA - Procurar Clientes com Vig&ecirc;ncia";
				break;
			case 'semvigencia':
				$title_name = "SCSA - Procurar Clientes sem Vig&ecirc;ncia";
				break;
			case 'removidos':
				$title_name = "SCSA - Procurar Clientes Removidos";
				break;
		}
	}
}
?>
<title><?php echo $title_name ?></title>
<link href="../estilo_scsa.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="../prototype.js"></script>

<?php require_once "../utils.php"; ?>

</head>